Move synthetic NIC stress tests into a dedicated synthetic test area#4567
Open
SRIKKANTH wants to merge 1 commit into
Open
Move synthetic NIC stress tests into a dedicated synthetic test area#4567SRIKKANTH wants to merge 1 commit into
synthetic test area#4567SRIKKANTH wants to merge 1 commit into
Conversation
Splits the network stress test suite so that the synthetic-NIC stress tests are reported under a dedicated area="synthetic" instead of being grouped with the SRIOV tests under area="sriov".
Contributor
There was a problem hiding this comment.
Pull request overview
This PR reorganizes network stress tests so synthetic-NIC stress scenarios are reported under a dedicated area="synthetic" instead of being grouped under area="sriov", improving test taxonomy and filtering/reporting.
Changes:
- Added a new
StressSyntheticstress suite annotated with@TestSuiteMetadata(area="synthetic", category="stress"). - Moved the three synthetic NIC stress test cases into
StressSynthetic. - Updated the corresponding stress cases under the SR-IOV stress suite to use SR-IOV network settings and SR-IOV basic validation.
Comment on lines
+168
to
+169
| initialize_nic_info(environment) | ||
| sriov_basic_test(environment) |
| @TestCaseMetadata( | ||
| description=""" | ||
| This case verify VM works well when provisioning with max sriov nics. | ||
| This case verify VM works well when provison with max synthetic nics. |
| @TestCaseMetadata( | ||
| description=""" | ||
| This case verify VM works well when provisioning with max sriov nics. | ||
| This case verify VM works well when provison with max synthetic nics. |
| @TestCaseMetadata( | ||
| description=""" | ||
| This case verify VM works well when provisioning with max sriov nics. | ||
| This case verify VM works well when provison with max synthetic nics. |
| def stress_sriov_with_max_nics_reboot(self, environment: Environment) -> None: | ||
| initialize_nic_info(environment) | ||
| sriov_basic_test(environment) | ||
| for _ in range(10): |
| initialize_nic_info(environment, is_sriov=False) | ||
| initialize_nic_info(environment) | ||
| sriov_basic_test(environment) | ||
| for _ in range(10): |
| initialize_nic_info(environment, is_sriov=False) | ||
| initialize_nic_info(environment) | ||
| sriov_basic_test(environment) | ||
| for _ in range(10): |
| skip_if_no_synthetic_nics(node) | ||
|
|
||
| initialize_nic_info(environment, is_sriov=False) | ||
| for _ in range(10): |
| skip_if_no_synthetic_nics(node) | ||
|
|
||
| initialize_nic_info(environment, is_sriov=False) | ||
| for _ in range(10): |
| skip_if_no_synthetic_nics(node) | ||
|
|
||
| initialize_nic_info(environment, is_sriov=False) | ||
| for _ in range(10): |
✅ AI Test Selection — PASSED43 test case(s) selected (view run) Marketplace image: canonical 0001-com-ubuntu-server-jammy 22_04-lts-gen2 latest
Test case details
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Splits the network stress test suite so that the synthetic-NIC stress tests are reported under a dedicated
area="synthetic"instead of being grouped with the SRIOV tests underarea="sriov".Changes
StressSynthetic(TestSuite)class with@TestSuiteMetadata(area="synthetic", category="stress")inlisa/microsoft/testsuites/network/stress.py.Stress(area="sriov") suite into the new suite:stress_synthetic_provision_with_max_nics_rebootstress_synthetic_with_max_nics_reboot_from_platformstress_synthetic_with_max_nics_stop_start_from_platformStresssuite.Motivation
Synthetic-NIC scenarios were previously categorized under the
sriovarea, which is misleading for reporting and test selection. Placing them in their ownsyntheticarea makes the test taxonomy accurate and easier to filter.Behavior
Key Test Cases:
stress_synthetic_provision_with_max_nics_reboot|stress_synthetic_with_max_nics_reboot_from_platform|stress_synthetic_with_max_nics_stop_start_from_platform
Impacted LISA Features:
NetworkInterface, StartStop
Tested Azure Marketplace Images: